// src/main.js
import './assets/tailwind.css'
import {createApp} from 'vue';
import App from './App.vue';
import router from './router'; // Import the router
import { library } from '@fortawesome/fontawesome-svg-core'
import { faArrowUp, faPlus, faCheckCircle, faSpinner } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import TDesign from 'tdesign-vue-next'
import 'tdesign-vue-next/es/style/index.css'
// main.js
import '@fortawesome/fontawesome-free/css/all.min.css'


library.add(faArrowUp, faPlus, faCheckCircle, faSpinner)
const app = createApp(App);
app.use(router);
app.use(TDesign)
app.config.globalProperties.$router = router
app.component('font-awesome-icon', FontAwesomeIcon)
app.mount('#app');
